|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfurny.ga.logger.entities.GeneEntry
@Entity public final class GeneEntry
Database entry for an genotype.
| Field Summary | |
|---|---|
private long |
furnId
The furn id. |
private long |
id
The id. |
private int |
rotGene
The rot gene. |
private int |
xGene
The x gene. |
private int |
yGene
The y gene. |
| Constructor Summary | |
|---|---|
private |
GeneEntry()
Instantiates a new gene entry. |
|
GeneEntry(RoomVector vector,
long furnId)
Instantiates a new gene entry. |
| Method Summary | |
|---|---|
long |
getFurnId()
Gets the furn id. |
long |
getId()
Gets the id. |
int |
getRotGene()
Gets the rot gene. |
int |
getXGene()
Gets the x gene. |
int |
getYGene()
Gets the y gene. |
void |
setFurnId(long furnId)
Sets the furn id. |
private void |
setId(long id)
Sets the id. |
void |
setRotGene(int rotation)
Sets the rot gene. |
void |
setXGene(int x)
Sets the x gene. |
void |
setYGene(int y)
Sets the y gene. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private long id
private int xGene
private int yGene
private int rotGene
private long furnId
| Constructor Detail |
|---|
private GeneEntry()
public GeneEntry(RoomVector vector,
long furnId)
vector - the vectorfurnId - the furn id| Method Detail |
|---|
public long getId()
private void setId(long id)
id - the new idpublic int getXGene()
public void setXGene(int x)
x - the new x genepublic int getYGene()
public void setYGene(int y)
y - the new y genepublic int getRotGene()
public void setRotGene(int rotation)
rotation - the new rot genepublic long getFurnId()
public void setFurnId(long furnId)
furnId - the new furn id
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||